package com.fiberhome.ztelauncher.core.page.type;

import android.view.View;

import com.fiberhome.ztelauncher.core.page.holder.BaseViewHolder;
import com.fiberhome.ztelauncher.core.page.model.AdBannerType;
import com.fiberhome.ztelauncher.core.page.model.AppType;
import com.fiberhome.ztelauncher.core.page.model.CustomType;
import com.fiberhome.ztelauncher.core.page.model.ImageType;
import com.fiberhome.ztelauncher.core.page.model.ListType;
import com.fiberhome.ztelauncher.core.page.model.RecommendType;
import com.fiberhome.ztelauncher.core.page.model.VideoType;
import com.fiberhome.ztelauncher.core.page.model.WidgetType;


/**
 * Created by yq05481 on 2016/12/30.
 */

public interface TypeFactory {
    int type(ImageType image);

    int type(VideoType videoType);

    int type(ListType listType);

    int type(WidgetType widgetType);

    int type(CustomType customType);

    int type(AdBannerType bannerType);

    int type(RecommendType recommendType);

    int type(AppType appType);

    BaseViewHolder createViewHolder(int type, View itemView);
}
